package interfaz;

import jugador.Jugador;

import org.uqbar.arena.layout.HorizontalLayout;
import org.uqbar.arena.widgets.Label;
import org.uqbar.arena.widgets.Panel;
import org.uqbar.arena.windows.MainWindow;
import org.uqbar.arena.windows.SimpleWindow;
import org.uqbar.arena.windows.WindowOwner;

import adapter.MesaAdapter;

public class RetirarseWindow extends SimpleWindow<MesaAdapter>{

	public RetirarseWindow(WindowOwner owner, MesaAdapter model) {
		super(owner, model);
		// TODO Auto-generated constructor stub
	}


	@Override
	protected void addActions(Panel actionsPanel) {
		// TODO Auto-generated method stub
		
	}

	@Override
	protected void createFormPanel(Panel mainPanel) {
		
		mainPanel.setLayout(new HorizontalLayout());
		Label retirado = new Label(mainPanel);
		retirado.setText("Se ha retirado el jugador " + this.getModel().getJugadorActual().getNombre());
		
		
	}
	
	
	

}
